<!DOCTYPE html>
<html>
<head>
  <title><%= @meta_keywords %> <%= @page_title %></title>
	<meta name="keywords" content="<%= @meta_keywords %>" />
  <meta name="description" content="<%= @meta_description %>" />
  <meta charset='utf-8'>
  <%= stylesheet_link_tag    "admin", :media => "all" %>
  <%= javascript_include_tag "admin" %>
  <%= csrf_meta_tags %>
</head>
<body>
<!--nav-->
<div class="hd">
<div class="tool-plus">
<a class="ddm" href="<%= grids_path %>"><span class="icon icon108"></span><span class="label">首页</span></a>
<a class="ddm" href="javascript:hisgoty.go(-1)"><span class="icon icon8"></span><span class="label">后退</span></a>
<a class="ddm" href="javascript:history.forward()"><span class="icon icon9"></span><span class="label">前进</span></a>
<a class="ddm" href="javascript:history.go(0)"><span class="icon icon157"></span><span class="label">刷新</span></a>
<!--<a class="ddm"><span class="icon icon186"></span><span class="label">删除</span></a>-->
<form>
  <input type="text" style="margin-top:-10px; float:right" class="input-medium search-query" placeholder="Search" />
</form>
</div>
</div>
<!--nav-->
<!--leftmenu-->
<div class="left">
<div class="menu">
    <div class="menuitem">
      <div class="m_title">
        <h3>新闻资讯</h3>
        <span class="span"><a class="ddm"><span class="icon icon3"></span></a></span></div>
	<div class="m_subtitle">
	  <span class="m_ico"><a class="ddm"><span class="icon icon155"></span></a></span>
	  <%= link_to '综合新闻', "/topics/category/1", :class =>'m_name' %>
	  <!--<span class="m_msgbox"></span>-->
	  </div>
	<div class="m_subtitle">
	  <span class="m_ico"><a class="ddm"><span class="icon icon2"></span></a></span>
	  <%= link_to '官方新闻', "/topics/category/2", :class =>'m_name' %>
	  <!--<span class="m_msgbox"></span>-->
	  </div>
	<div class="m_subtitle">
	  <span class="m_ico"><a class="ddm"><span class="icon icon173"></span></a></i></span>
	  <%= link_to '游戏公告', "/topics/category/3", :class =>'m_name' %>
	  </div>
	<div class="m_subtitle">
	  <span class="m_ico"><a class="ddm"><span class="icon icon98"></span></a></span>
	  <%= link_to '维护公告', "/topics/category/4", :class =>'m_name' %>
	  </div>
	</div>
<!---->
    <div class="menuitem">
      <div class="m_title">
        <h3>焦点图</h3>
        <span class="span"><a class="ddm"><span class="icon icon3"></span></a></span></div>
	<div class="m_subtitle">
	  <span class="m_ico"><a class="ddm"><span class="icon icon87"></span></a></i></span>
	  <%= link_to '焦点图管理', carousels_path, :class =>'m_name' %>
	  </div>
	</div>
<!---->
    <div class="menuitem">
      <div class="m_title">
        <h3>游戏图片</h3>
        <span class="span"><a class="ddm"><span class="icon icon3"></span></a></span></div>
	<div class="m_subtitle">
	  <span class="m_ico"><a class="ddm"><span class="icon icon90"></span></a></i></span>
	  <%= link_to '游戏截图', '/photos/category/1', :class =>'m_name' %>
	  <!--<span class="m_msgbox"></span>-->
	  </div>
	<div class="m_subtitle">
	  <span class="m_ico"><a class="ddm"><span class="icon icon148"></span></a></span>
	  <%= link_to '游戏原画', '/photos/category/2', :class =>'m_name' %>
	  </div>
	<div class="m_subtitle">
	  <span class="m_ico"><a class="ddm"><span class="icon icon127"></span></a></i></span>
	  <%= link_to '玩家靓照', '/photos/category/3', :class =>'m_name' %>
	  </div>
	</div>
<!---->
    <div class="menuitem">
      <div class="m_title">
        <h3>游戏资料</h3>
        <span class="span"><a class="ddm"><span class="icon icon3"></span></a></span></div>
	<div class="m_subtitle">
	  <span class="m_ico"><a class="ddm"><span class="icon icon95"></span></a></span>
	  <%= link_to '新手指南', guides_path, :class =>'m_name' %>
	  </div>
	<div class="m_subtitle">
	  <span class="m_ico"><a class="ddm"><span class="icon icon53"></span></a></span>
	  <%= link_to '玩家手册', manuals_path, :class =>'m_name' %>
	  </div>
	<div class="m_subtitle">
	  <span class="m_ico"><a class="ddm"><span class="icon icon53"></span></a></span>
	  <%= link_to '职业介绍', roles_path, :class =>'m_name' %>
	  </div>
	<div class="m_subtitle">
	  <span class="m_ico"><a class="ddm"><span class="icon icon53"></span></a></span>
	  <%= link_to '游戏特色', features_path, :class =>'m_name' %>
	  </div>
	<div class="m_subtitle">
	  <span class="m_ico"><a class="ddm"><span class="icon icon82"></span></a></span>
	  <%= link_to '道具装备', equips_path, :class =>'m_name' %>
	  </div>
	</div>
<!---->
    <div class="menuitem">
      <div class="m_title">
        <h3>活动专题</h3>
        <span class="span"><a class="ddm"><span class="icon icon3"></span></a></span></div>
	<div class="m_subtitle">
	  <span class="m_ico"><a class="ddm"><span class="icon icon95"></span></a></span>
	  <%= link_to '活动专题', events_path, :class =>'m_name' %>
	  </div>
	</div>
<!---->
    <div class="menuitem">
      <div class="m_title">
        <h3>下载中心</h3>
        <span class="span"><a class="ddm"><span class="icon icon3"></span></a></span></div>
	<div class="m_subtitle">
	  <span class="m_ico"><a class="ddm"><span class="icon icon95"></span></a></span>
	  <%= link_to '下载中心', downloads_path, :class =>'m_name' %>
	  </div>
	</div>
<!---->
    <div class="menuitem">
      <div class="m_title">
        <h3>系统设置</h3>
        <span class="span"><a class="ddm"><span class="icon icon3"></span></a></span></div>
	<div class="m_subtitle">
	  <span class="m_ico"><a class="ddm"><span class="icon icon95"></span></a></span>
	  <%= link_to 'BUG反馈', bugs_path, :class =>'m_name' %>
	  </div>
	<div class="m_subtitle">
	  <span class="m_ico"><a class="ddm"><span class="icon icon95"></span></a></span>
	  <%= link_to '友情链接', links_path, :class =>'m_name' %>
	  </div>
	<div class="m_subtitle">
	  <span class="m_ico"><a class="ddm"><span class="icon icon82"></span></a></span>
	  <%= link_to '常见问题', edit_faq_path(1), :class =>'m_name' %>
	  </div>
	<div class="m_subtitle">
	  <span class="m_ico"><a class="ddm"><span class="icon icon82"></span></a></span>
	  <%= link_to '游戏攻略', raids_path, :class =>'m_name' %>
	  </div>
	<div class="m_subtitle">
	  <span class="m_ico"><a class="ddm"><span class="icon icon82"></span></a></span>
	  <%= link_to '客服中心', edit_service_path(1), :class =>'m_name' %>
	  </div>
	<div class="m_subtitle">
	  <span class="m_ico"><a class="ddm"><span class="icon icon95"></span></a></span>
	  <%= link_to '密码修改', edit_myinfo_path( session[:user_id] ), :class =>'m_name' %>
	  </div>
	<div class="m_subtitle">
	  <span class="m_ico"><a class="ddm"><span class="icon icon53"></span></a></span>
	  <%= link_to '退出登录', signout_path, :class =>'m_name' %>
	  </div>
	</div>
<!---->
</div>
</div>
<!--leftmenu-->
<!--topper-->
<div class="main_topper"></div>
<!--topper-->
<!--main-->
<div class="main">

<%= flash[:notice] %>

<%= yield %>

</div>
<!--main-->
</body>
</html>
